Skip to content

Comments

[AMQ-9857] Add SSL support for JMX connector in ManagementContext#1661

Draft
jeanouii wants to merge 7 commits intoapache:mainfrom
jeanouii:feat/jmx-with-ssl-context
Draft

[AMQ-9857] Add SSL support for JMX connector in ManagementContext#1661
jeanouii wants to merge 7 commits intoapache:mainfrom
jeanouii:feat/jmx-with-ssl-context

Conversation

@jeanouii
Copy link
Contributor

@jeanouii jeanouii commented Feb 10, 2026

Thoughts on reusing the SSL Context to configure the SSL connector for JMX to avoid duplication of configuration and allow Jasypt to cipher passwords.

TODO

  • create tests
  • add/update documentation
  • maybe an exemple

@jeanouii jeanouii force-pushed the feat/jmx-with-ssl-context branch from ab5cfed to 3cf7065 Compare February 10, 2026 14:25
@jeanouii jeanouii changed the title [#TODO] Add SSL support for JMX connector in ManagementContext [AMQ-9857] Add SSL support for JMX connector in ManagementContext Feb 10, 2026
@jeanouii jeanouii changed the title [AMQ-9857] Add SSL support for JMX connector in ManagementContext WIP [AMQ-9857] Add SSL support for JMX connector in ManagementContext Feb 10, 2026
@jeanouii jeanouii marked this pull request as draft February 10, 2026 14:33
@jeanouii jeanouii force-pushed the feat/jmx-with-ssl-context branch from 3cf7065 to af8af64 Compare February 19, 2026 23:15
System.setProperty("javax.net.ssl.trustStorePassword", KEYSTORE_PASSWORD);
// Force RMI stubs to advertise "localhost" so SSL hostname verification
// matches the certificate SAN (dns:localhost) instead of the machine's IP.
System.setProperty("java.rmi.server.hostname", "localhost");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be localized into the RMIServer environment map vs only supporting it via the System Property

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be better now

@jeanouii jeanouii changed the title WIP [AMQ-9857] Add SSL support for JMX connector in ManagementContext [AMQ-9857] Add SSL support for JMX connector in ManagementContext Feb 20, 2026
@jeanouii jeanouii force-pushed the feat/jmx-with-ssl-context branch from e4a7a23 to 44e13ed Compare February 20, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants